/**
 * Copyright (c) 2002-2012 旭鸣信息
 * All rights reserved. 
 * File：IUserCouponDao.java
 * History: Dec 27, 2012: Initially created, liuzhi.
 */
package com.xteam.ecsystem.dao;

import com.xteam.ecsystem.entities.BaseMemeberCoupon;

/**
 * 用户购物券数据访问接口
 * @author liuzhi
 *
 */
public interface IUserCouponDao {
	
	/**
	 * 获得指定的用户购物券记录
	 * @author liuzhi 2014-1-9
	 * @param userId
	 * @param couponId
	 * @return
	 */
	public BaseMemeberCoupon getBmcInfo(String userId, String couponId);
	
	/**
	 * 更新用户购物券数据记录
	 * @author liuzhi 2014-1-9
	 */
	public void updateBmcInfo(BaseMemeberCoupon bmc);
	
	/**
	 * 添加用户购物券
	 * @author liuzhi 2014-2-18
	 * @param bmc
	 */
	public void saveBmcInfo(BaseMemeberCoupon bmc);

}
